<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        
        ul,
        li {
            list-style: none;
        }
        
        ul {
            padding: 0 20px;
        }
        
        li {
            height: 50px;
            border-bottom: 1px solid #999;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .f16 {
            font-size: 16px;
        }
        
        .f12 {
            font-size: 12px;
        }
    </style>
</head>

<body>

    <ul id="list">
        <!-- <li>
            <div>
                <p class="f16">香蕉</p>
                <p class="f12">海南</p>
            </div>
            <div class="f12">四季</div>
        </li> -->
    </ul>


    <script>
        var fruits = [{
            name: '香蕉',
            season: '四季',
            prodAdrr: '海南'
        }, {
            name: '苹果',
            season: '夏天',
            prodAdrr: '山东'
        }, {
            name: '雪梨',
            season: '冬季',
            prodAdrr: '广西'
        }, {
            name: '火龙果',
            season: '春节',
            prodAdrr: '广东'
        }];

        var str = '';
        for (var i = 0; i < fruits.length; i++) {
            var item = fruits[i];
            str += `<li>
                        <div>
                            <p class="f16">${item.name}</p>
                            <p class="f12">${item.prodAdrr}</p>
                        </div>
                        <div class="f12">${item.season}</div>
                    </li>`;
        }

        document.getElementById('list').innerHTML = str;
    </script>
</body>

</html>